/**
 * 
 */
package com.app.service.vo;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Administrator
 * 数据库中种子信息
 */
@SuppressWarnings("serial")
public class CornDbDnaExcelVo extends BaseVoImpl {

	/**
	 * 
	 */
	public CornDbDnaExcelVo() {
	
	}

	private String id;
	private String filePath;
	private Integer pointCount;
	private String dnaName;
	private String dnaCoder;
	private String dm1;
	private String dm2;
	private Timestamp createTime;
	private Timestamp updateTime;
	private String createUserId;
	private String updateUserId;
	private String updateExcuse;
	private String dnaType;
	private String dnaSource;
	private String dnaImage;
	private String dnaAddress;
	private String dnaData;
	public String getDnaType() {
		return dnaType;
	}
	public void setDnaType(String dnaType) {
		this.dnaType = dnaType;
	}
	public String getDnaSource() {
		return dnaSource;
	}
	public void setDnaSource(String dnaSource) {
		this.dnaSource = dnaSource;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public Integer getPointCount() {
		return pointCount;
	}
	public void setPointCount(Integer pointCount) {
		this.pointCount = pointCount;
	}
	public String getDnaName() {
		return dnaName;
	}
	public void setDnaName(String dnaName) {
		this.dnaName = dnaName;
	}
	public String getDnaCoder() {
		return dnaCoder;
	}
	public void setDnaCoder(String dnaCoder) {
		this.dnaCoder = dnaCoder;
	}
	public String getDm1() {
		return dm1;
	}
	public void setDm1(String dm1) {
		this.dm1 = dm1;
	}
	public String getDm2() {
		return dm2;
	}
	public void setDm2(String dm2) {
		this.dm2 = dm2;
	}
	public Timestamp getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	public Timestamp getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
	public String getCreateUserId() {
		return createUserId;
	}
	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}
	public String getUpdateUserId() {
		return updateUserId;
	}
	public void setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
	}
	public String getUpdateExcuse() {
		return updateExcuse;
	}
	public void setUpdateExcuse(String updateExcuse) {
		this.updateExcuse = updateExcuse;
	}
	public String getDnaImage() {
		return dnaImage;
	}
	public void setDnaImage(String dnaImage) {
		this.dnaImage = dnaImage;
	}
	public String getDnaAddress() {
		return dnaAddress;
	}
	public void setDnaAddress(String dnaAddress) {
		this.dnaAddress = dnaAddress;
	}
	public String getDnaData() {
		return dnaData;
	}
	public void setDnaData(String dnaData) {
		this.dnaData = dnaData;
	}
	public List<Integer> getDnaValues() {
		List<Integer> list=new ArrayList<Integer>();
		if(this.getDnaData()!=null){
			String[] values=this.getDnaData().split(";");
			for(String s:values){
				if("".equals(s)){
					s="0";
				}
				list.add(Integer.parseInt(s));
			}
		}
		return list;
	}
}
